package com.lab.webSocket.service;

import com.lab.webSocket.dto.ChatLogDto;
import com.lab.webSocket.webSocket.dto.TextChatResultDto;

import java.math.BigInteger;
import java.util.List;

/**
 * Created by xu_jiaHui on 2017/8/31.
 */
public interface ChatService {
    /**
     * @Description: 发送消息 记录数据库
     * @author xu_jiaHui
     * @date 2017/8/31 21:56
     */
    public Integer sendMessage(TextChatResultDto chatResultDto) throws Exception;

    public Integer updateLogoutTime(String userAccount) throws Exception;

    public List<ChatLogDto> getLastChatLog(String userAccount) throws Exception;

    public Integer deleteChatLog(String chatLogIds) throws Exception;
}
